package org.lida.converter.controller;

import org.lida.converter.pojo.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * author: lida
 * create time: 2020-09-01 11:15
 * description:
 */
@RestController
public class UserController {

    @RequestMapping("one")
    public Object one() {
        return "我是武庚";
    }

    @RequestMapping("two")
    public Object two() {
        return new User(1, "武庚", "123");
    }
}
